package com.group.commons.service;

import com.group.commons.entity.Admin;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("admin")
public interface AdminService {
    @GetMapping("/admin/admin/{id}")
    public Admin getAdmin(@PathVariable("id")int id);
}
